package com.feicheng.persistence.mapper;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.feicheng.persistence.entity.Ahyjl;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 会员记录 Mapper 接口
 * </p>
 *
 * @author cailongyang
 * @since 2025-04-02
 */
public interface AhyjlMapper extends BaseMapper<Ahyjl> {
    /* shihuijun start*/
    IPage getHyWithHylxByPage(IPage page, @Param(Constants.WRAPPER) Wrapper wrapper);

    List<JSONObject> getHyWithHylx(@Param(Constants.WRAPPER) Wrapper wrapper);
    /* shihuijun end*/

    /* jinjingyi start*/
    JSONObject getHyjlAmountGroupByStu();

    List<JSONObject> getHyjlAmountGroupByYMAndStu();
    /* jinjingyi end*/
}
